package testes;

import static org.junit.Assert.fail;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

import codigoBase.MyMergeSort;

public class MyMergeSortTeste {

	private MyMergeSort myMS;
	
	@Before
	public void setUp(){
		myMS = new MyMergeSort();
		Assert.assertNotNull(myMS);
	}	
	
	
	
	
	@Test
	public void testMain() {
		String[] a = {"dwd","dwdw"};
		myMS.main(a);
		
//		myMS = new MyMergeSort();
//		int[] inputArr = {45,23,11,89,77,98,4,28,65,43};
//        myMS.sort(inputArr);
//        for (int i = 0; i < inputArr.length; i++) {
//			
//		}
       // Assert.assertArrayEquals(expecteds, actuals);
        
	}

	@Test
	public void testSort() {
		myMS = new MyMergeSort();
		int[] inputArr = {45,23,11,89,77,98,4,28,65,43};
        myMS.sort(inputArr);
	}

}
